
package hoja6;

import java.util.*;
public class testHashSet extends AbstractSet{
    
    Set<String> set1 = new HashSet<String>();

    testHashSet() {
       this.set1=set1;
    }
    
    public void add (String variable){
        set1.add(variable);
    }
    
      public void remove (String variable){
        set1.remove(variable);
    }
      
       public int size (){
        return set1.size();
    }

    @Override
    public Iterator iterator() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    
}
